package main

import "fmt"

func add111(aaa []int) {
	aaa = append(aaa, 1)
	fmt.Println("里面", aaa)
	fmt.Printf("里面%p   %p len:%v\n", aaa, &aaa, len(aaa))
}

func main() {
	var aaa = []int{}
	fmt.Println("前", aaa)
	fmt.Printf("前%p   %p\n", aaa, &aaa)
	add111(aaa)
	//fmt.Println(aaa[5])
	fmt.Printf("后%p   %p len: %v\n", aaa, &aaa, len(aaa))
	fmt.Println("后", aaa)
}
